package cn.edu.jmu.oelp.service;

import cn.edu.jmu.oelp.pojo.Entity;


public interface EntityService {

    public int addEntity(Entity entity);

    public boolean delEntity(int entityId);

    public boolean updateEntity(Entity entity);

    public Entity selEntityById(int entityId);

    /**
     * @param id userId
     * @return 段落id
     */
    int lastParagraphsId(int id);
}
